<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>epg直播打点收录操控中心</title>
    <meta charset="utf-8">
    <script type="text/javascript">
        document.write('<scri' + 'pt src="./js/init3.js?v=' + Math.random() + '" type="text/javascript"></s' + 'cript>');
    </script>
    <script charset="utf-8" type="text/javascript"
            src="js/qui_0.4.0/jquery.ui.autocomplete.js?v=2014122229711"></script>
    <script charset="utf-8" type="text/javascript"
            src="js/qui_0.4.0/jquery.qui.autocomplete.js?v=2014122229711"></script>
    <script charset="utf-8" type="text/javascript" src="js/qui_0.4.0/jquery.qui.suggest.js?v=2014122229711"></script>

</head>
<style>

    h6 {
        padding: 7px;
    }

    .nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus {
        border-top: 1px solid #ccc;
    }

    .norecords {
        border-width: 2px !important;
        display: none;
        font-weight: bold;
        left: 45%;
        margin: 5px;
        padding: 6px;
        text-align: center;
        top: 45%;
        width: auto;
        z-index: 102;
    }

    .ui-jqgrid tr.jqgrow td {
        white-space: normal !important;
        word-wrap: break-word;
        height: auto;
        vertical-align: text-top;
        padding-top: 2px;
    }

    .qui-tag {
        background: none repeat scroll 0 0 #fff1d3;
        border: 1px solid #fff1d3;
        border-radius: 2px;
        color: #f25700;
        font-size: 12px;
        margin-bottom: 5px;
        margin-right: 5px;
        padding: 4px 4px 5px 4px;
        text-decoration: none;
        vertical-align: middle;
        line-height: 24px;
        height: 24px;
    }

    a.qui-tag-remove {
        text-decoration: none;
        color: #c15200;
        padding-left: 8px;
        font-size: 18px;
    }

</style>
<body>
<header></header>
<div class="wrapper wrapper-video">
    <nav>
        <ul class="breadcrumb">
            <li>直播收录<span class="divider"> &gt; </span></li>
            <li>打点系统</li>
            <li>
                <button class="btn btn-info" onclick="Zhibo.Util.openMonitorPlayer(true)" type="button">打开预览</button>
            </li>
            <li>
                <div id="auth_partner_div" style="display: none"><a target="_blank"
                                                                    href="/epg/live2VOD_cp_home.html"
                                                                    class="btn btn-info">导入合作方</a></div>
            </li>
            <li><a target="_blank" href="http://lego.iqiyi.com/peditor/zhibo_list">旧版打点页面</a></li>
        </ul>
    </nav>
    <div class="clearfix">
        <ul id="myTab" class="nav nav-tabs">
            <li class="active" value="0"><a data-toggle="tab" href="#home">
                <button class="btn btn-success" type="button">打点列表</button>
            </a></li>
            <!--<li value="1"><a data-toggle="tab" href="#profile">-->
            <!--<button class="btn btn-info" type="button">收录列表</button>-->
            <!--</a></li>-->
            <!--<li value="2"><a data-toggle="tab" href="#messages">-->
            <!--<button class="btn btn-info" type="button">分甘同味</button>-->
            <!--</a></li>-->
            <!--<li><a target="_blank" href="http://lego.iqiyi.com/peditor/home"><button class="btn btn-info" type="button">直播转点播工具一期</button></a></li>-->

        </ul>

        <div class="wrapper wrapper-video">
            <div class="container container-video">
                <div id="VideoListContainer" class="container-list">
                    <div class="query" id="QueryContainer">
                        <form class="form-horizontal form-container form-inline" name="basicFrm" autocomplete="off">
                            <div class="container">
                                <div class="row">
                                    <div class="span4">
                                        <div class="control-group">
                                            <label class="control-label">频道名称：</label>

                                            <div class="controls">
                                                <input type="text" name="channel_name" autocomplete="off"
                                                       placeholder="频道名称"
                                                       class="input-small query-input-text">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="span4">
                                        <div class="control-group">
                                            <label class="control-label">频道代码：</label>

                                            <div class="controls">
                                                <input type="text"
                                                       name="channel_code"
                                                       placeholder="频道代码" autocomplete="off"
                                                       class="input-medium query-input-text ui-autocomplete-input">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="span4">
                                        <div class="control-group">
                                            <label class="control-label">服务器：</label>

                                            <div class="controls">
                                                <select class="input-medium" name="server_region">

                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="span4">
                                        <div class="control-group">
                                            <label class="control-label">服务器IP：</label>

                                            <div class="controls">
                                                <select class="input-medium" id="filter_source_ip" name="ip"></select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="span4">
                                        <div class="control-group cleargroup">
                                            <label class="control-label">是否收费：</label>

                                            <div class="controls">
                                                <select name="freeType" class="input-small pps-content-type"
                                                        autocomplete="off">
                                                    <option value="all">全部</option>
                                                    <option value="1">是</option>
                                                    <option value="0">否</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="span4">
                                        <div class="control-group">
                                            <label class="control-label">是否收录：</label>

                                            <div class="controls">
                                                <select name="channel_status" class="input-small pps-content-type"
                                                        autocomplete="off">
                                                    <option value="all">全部</option>
                                                    <option value="1">是</option>
                                                    <option value="0">否</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>


                                </div>

                                <div class="control-group">
                                    <label class="control-label"></label>

                                    <div class="controls">
                                        <button type="button" class="btn btn-primary query-btn" name="channelQuery">搜索
                                        </button>
                                        <button type="button" id="resetFrm" class="btn">重置</button>
                                        <button type="button" name="createBtn" class="btn" style="display: none">新建
                                        </button>
                                        <button type="button" name="ipControl" class="btn" style="display: none">
                                            ip分组管理
                                        </button>

                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="result">
                        <div class="le-grid">
                            <table id="list">
                                <tr>
                                    <td></td>
                                </tr>
                            </table>
                            <div id="pager"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>

<div id="modifyDiv" class="form-inline" style="display: none">
    <form role="form" id="addchannelFrom" class="form-horizontal">
        <input type="hidden" name="act_type">
        <input type="hidden" name="channel_id">
        <input type="hidden" name="business" id="business" value="0"/>

        <div class="control-group">
            <label class="control-label">频道名称</label>
            <input type="text" placeholder="Channel name" name="channel_name" id="channel_name" class="form-control">
        </div>
        <div class="control-group">
            <label class="control-label">频道代码</label>
            <input type="text" placeholder="Channel code" name="channel_code" id="channel_code" class="form-control">
        </div>
        <div class="control-group">
            <label class="control-label">流地址</label>
            <input type="text" placeholder="udp or udi or rtmp or http address" name="channel_addr" id="channel_addr"
                   class="form-control" style="width: 300px">
        </div>


        <div class="control-group">
            <label class="control-label">监控流地址</label>
            <input type="text" placeholder="rtmp address" name="rtmp" id="rtmp" class="form-control"
                   style="width: 300px">
        </div>

        <div class="control-group">
            <label class="control-label">服务器：</label>

            <div class="controls">
                <select class="input-medium" name="server_region2">
                    <option value="all">请选择</option>

                </select>
            </div>
        </div>

        <div class="control-group">
            <label class="control-label">服务器IP</label>
            <select class="form-control input-medium" name="sourceiplist" id="sourceiplist">
            </select>
        </div>

        <div class="control-group">
            <label class="control-label">默认地区</label>
            <input type="text" placeholder="default location" name="location" id="location" class="form-control">
        </div>

        <div class="control-group">
            <label class="control-label">是否收费</label>
            <label><input type="radio" value="1" name="freeType" id="freeType1">
                收费</label>
            <label> <input type="radio" checked="checked" value="0" name="freeType" id="freeType0">免费</label>
        </div>
        <div class="control-group">
            <label class="control-label"></label>

            <div class="controls">
                <button type="button" onclick="Zhibo.Util.saveModify()" class="btn btn-primary query-btn">确定</button>
                <button type="button" onclick="Zhibo.Util.cancelModify()" class="btn">取消</button>
            </div>
        </div>
    </form>
</div>

<div id="ipConfigDiv" class="form-inline" style="display: none">
    <form role="ipForm" id="ipControlForm" class="form-horizontal">
        <div class="control-group">
            <label class="control-label">ip:</label>
            <input type="text" class="form-control" name="newIp">
            <button id="ip-add" type="button" onclick="Zhibo.Util.IpAdd()">添加</button>
            <button id="ip-list" type="button">刷新</button>
        </div>
        <div>
            <table id="ipList">
                <tr>
                    <td></td>
                </tr>
            </table>
            <div id="ip_pager"></div>
        </div>
    </form>
</div>

<div id="codeDetail" class="form-inline" style="display: none">
    <form id="codeDetailForm" class="form-horizontal">
        <input type="hidden" id="ip" value=""/>
        <input type="hidden" id="code" value=""/>

        <div class="control-group">
            <label class="control-label">宽度x高度：</label>
            <input type="text" id="size" class="form-control" disabled="disabled">
        </div>
        <div class="control-group">
            <label class="control-label">编码类型：</label>
            <input type="text" id="codeType" class="form-control" disabled="disabled">
        </div>
        <div class="control-group" id="gpuDiv" style="display: none">
            <label class="control-label">GPU编码通道：</label>
            <input type="text" id="gpuPipeline" class="form-control" disabled="disabled">
        </div>
        <div class="control-group">
            <label class="control-label">是否遮台标：</label>
            <input type="text" id="delog" class="form-control" disabled="disabled">
        </div>
        <div class="control-group">
            <label class="control-label">是否提交720p：</label>
            <input type="text" id="v720p" class="form-control" disabled="disabled">
        </div>

        <div class="control-group">
            <label class="control-label">是否提交1080p：</label>
            <input type="text" id="v1080p" class="form-control" disabled="disabled">
        </div>

        <div class="control-group">
            <label class="control-label">是否杜比：</label>
            <input type="text" id="dolby" class="form-control" disabled="disabled">
        </div>
        <div class="control-group">
            <label class="control-label">是否全景视频：</label>
            <input type="text" id="panoType" class="form-control" disabled="disabled">
        </div>
        <div class="control-group">
            <label class="control-label">直转点版本号：</label>
            <input type="text" id="zhiboVersion" class="form-control" disabled="disabled">
        </div>
        <div class="control-group">
            <label class="control-label">编码器版本号：</label>
            <input type="text" id="bianmaqiVersion" class="form-control" disabled="disabled">
        </div>
        <div class="control-group">
            <label class="control-label">服务器：</label>
            <label id="dotLoad" class="form-control"></label>
        </div>
    </form>
</div>
<div id="vodLogDiv" style="display: none">
    <table id="logList">
        <tr>
            <td></td>
        </tr>
    </table>
    <div id="log_pager"></div>
</div>
<div id="vodRecordDiv" class="form-inline" style="display: none">
    <form role="recordForm" id="recordForm" class="form-horizontal">
        <input type="hidden" name="record_channel_id">
        <input type="hidden" name="record_entity_id">

        <div class="container">

            <div class="row">
                <div class="span3">
                    <div class="control-group">
                        <label class="control-label" style="width: 80px">开始:</label>
                        <input type="text" class="form-control" name="record_start_time" style="width: 116px">
                    </div>
                </div>
                <div class="span3">
                    <div class="control-group">
                        <label class="control-label" style="width: 80px">结束:</label>
                        <input type="text" class="form-control" name="record_end_time" style="width: 116px">
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="span8">
                    <div class="control-group">
                        <label class="control-label" style="width: 80px">预警通知人员:</label>
                        <input type="text" class="form-control" name="project_workers" style="width: 100px">
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="span8">
                    <div class="control-group">
                        <label class="control-label" style="width: 80px">预警通知方式:</label>
                        <label class="checkbox inline"><input type="checkbox" name="notify_type" value="1">热聊</label>
                        <label class="checkbox inline"><input type="checkbox" name="notify_type" value="2">邮件</label>
                        <label class="checkbox inline"><input type="checkbox" name="notify_type" value="4">短信</label>
                    </div>
                </div>
            </div>
        </div>
        <br>

        <div class="control-group">
            <label class="control-label"></label>
            <button name="record-add" type="button" onclick="Zhibo.Util.addRecord()">添加</button>
            <button name="record-edit" type="button" style="display: none" onclick="Zhibo.Util.editRecord()">修改</button>
            <button name="record-clear-form" type="button">重置</button>
            <button name="record-list" type="button" style="display: none">刷新</button>
            <button name="record-clear-list" type="button" style="display: none">清空列表</button>
        </div>

        <div>
            <table id="recordList">
                <tr>
                    <td></td>
                </tr>
            </table>
            <div id="record_pager"></div>
        </div>
    </form>

</div>
</body>
<script type="text/javascript">
    require(['epg2'], function () {
        Zhibo.Action.writePointRun();
    })
</script>
<html>
